   <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/jquery-1.10.2.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/jquery-ui-1.10.3.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/bootstrap.js"></script>

    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.collapsible.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.mCustomScrollbar.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.mousewheel.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.uniform.min.js"></script>

    <script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCL6XtCGot7S7cfxnO6tRfeZx9kLQQRMtA&amp;sensor=false"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.sparkline.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/chosen.jquery.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.easytabs.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/excanvas.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/jquery.flot.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/jquery.flot.pie.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/jquery.flot.selection.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/jquery.flot.resize.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/flot/jquery.flot.orderBars.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/maps/jquery.vmap.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/maps/maps/jquery.vmap.world.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/maps/data/jquery.vmap.sampledata.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.autosize-min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/charCount.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.minicolors.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.tagsinput.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/fullcalendar.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/footable/footable.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/footable/data-generator.js"></script>

    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/bootstrap-datetimepicker.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/bootstrap-timepicker.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/bootstrap-datepicker.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/bootstrap-fileupload.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/library/jquery.inputmask.bundle.js"></script>

    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/flatpoint_core.js"></script>


    <script>
        jQuery('#vmap').vectorMap({
            map:"world_en",
            backgroundColor:null,
            color:"#ffffff",
            hoverOpacity:.7,
            selectedColor:"#2d91ef",
            enableZoom:0,
            showTooltip:1,
            values:sample_data,
            scaleColors:["#8cc3f6","#5c86ac"],
            normalizeFunction:"polynomial",
            onRegionClick:function(){alert("This Region has "+(Math.floor(Math.random()*10)+1)+" users!"
            )}
        });

        jQuery(document).ready(function($) {
            $('.footable').footable();
            $('.responsive_table_container').mCustomScrollbar({
                set_height: 400,
                advanced:{
                  updateOnContentResize: true,
                  updateOnBrowserResize: true
                }
            });

            $('.responsive_table_container_2').mCustomScrollbar({
                set_height: 520,
                advanced:{
                  updateOnContentResize: true,
                  updateOnBrowserResize: true
                }
            });

            $('.inner_sidebar').easytabs({
                animationSpeed: 300,
                collapsible: false,
                updateHash: false
            });
        });
        jQuery(document).ready(function($) {
            $('.uniform').uniform();
        });
    </script>

    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/calendar.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/forms.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl;?>/js/dashboard.js"></script>